package com.flyduck.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @program: vue-admin-java
 * @description:
 * @author: flyduck
 * @create: 2024-06-01 10:53
 **/
@Data
public class SysRoleUpdateReqVO implements Serializable {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "角色名称不能为空")
    private String name;

    @NotBlank(message = "角色编码不能为空")
    private String code;

    /**
     * 备注
     */
    private String remark;

    @NotNull(message = "状态不能为空")
    private Integer statu;
}
